package com.lyf.domain.excel;

import com.lyf.annotation.ExcelFiled;
import lombok.Data;

import java.util.Date;

@Data
public class ExcelEntity {

	private String id;
	@ExcelFiled(name ="姓名", index =0)
	private String name;
	@ExcelFiled(name ="年龄", index =1)
	private int age;
	@ExcelFiled(name ="学号", index =2)
	private String uno;
	@ExcelFiled(name ="电话", index =3)
	private String phone;
	@ExcelFiled(name ="添加时间", index =4, pattern = "yyyy-MM-dd")
	private Date insertTime;
	
}

